<?php

class RongIm extends CI_Controller {

    public function __construct()
    {
        parent::__construct();
		$this->load->model('RongImManager');
    }
	public function getToken(){
		$username=$_REQUEST['username'];
		$sessionId=$_REQUEST['sessionId'];
		$data=$this->RongImManager->get_token($username,$sessionId);
		echo json_encode($data);
	}
}
?>